package com.gw.ycny.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class LoginInterceptorConfig implements WebMvcConfigurer {
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        InterceptorRegistration ir = registry.addInterceptor(new LoginInterceptor());
//        ir.addPathPatterns("/**");
//        ir.excludePathPatterns("**/login","**/doc.html");
//    }
}
